home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / dmsetup.postinst < prev    next >
Text File  |  2009-09-27  |  596b  |  21 lines

  1. #!/bin/sh
  2.  
  3. if [ "$1" = "configure" ]; then
  4.     if type update-initramfs >/dev/null 2>&1; then
  5.         update-initramfs -u
  6.     fi
  7. fi
  8.  
  9. # Automatically added by dh_installudev
  10. if [ "$1" = configure ]; then
  11.     if [ -e "/etc/udev/rules.d/65_dmsetup.rules" ]; then
  12.         echo "Preserving user changes to /etc/udev/rules.d/65-dmsetup.rules ..."
  13.         if [ -e "/etc/udev/rules.d/65-dmsetup.rules" ]; then
  14.             mv -f "/etc/udev/rules.d/65-dmsetup.rules" "/etc/udev/rules.d/65-dmsetup.rules.dpkg-new"
  15.         fi
  16.         mv -f "/etc/udev/rules.d/65_dmsetup.rules" "/etc/udev/rules.d/65-dmsetup.rules"
  17.     fi
  18. fi
  19. # End automatically added section
  20.  
  21.